.TH "StateManager" 3 "Fri Dec 13 2013" "GameEngine" \" -*- nroff -*-
.ad l
.nh
.SH NAME
StateManager \- 
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <StateManager\&.h>\fP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBStateManager\fP (void)"
.br
.ti -1c
.RI "\fB~StateManager\fP (void)"
.br
.ti -1c
.RI "\fBStateMachine\fP * \fBinitialiseState\fP ()"
.br
.ti -1c
.RI "void \fBchangePlacesBeen\fP (long code, \fBStateMachine\fP *machine)"
.br
.ti -1c
.RI "\fBStateMachine\fP * \fBgetStateValue\fP (long code)"
.br
.ti -1c
.RI "\fBStateMachine\fP * \fBcallStates\fP (long code, long oldcode, \fBStateMachine\fP *oldmachine)"
.br
.in -1c
.SS "Private Attributes"

.in +1c
.ti -1c
.RI "\fBKeyCode\fP * \fBcodes\fP"
.br
.ti -1c
.RI "std::map< long, \fBStateMachine\fP * > \fBplacesbeen\fP"
.br
.ti -1c
.RI "long \fBcurrentcode\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Definition at line 15 of file StateManager\&.h\&.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "StateManager::StateManager (void)"

.PP
Definition at line 11 of file StateManager\&.cpp\&.
.PP
References codes, and currentcode\&.
.SS "StateManager::~StateManager (void)"

.PP
Definition at line 18 of file StateManager\&.cpp\&.
.SH "Member Function Documentation"
.PP 
.SS "\fBStateMachine\fP * StateManager::callStates (longcode, longoldcode, \fBStateMachine\fP *oldmachine)"

.PP
Definition at line 35 of file StateManager\&.cpp\&.
.PP
References changePlacesBeen(), codes, currentcode, KeyCode::getHashMap(), KeyCode::getSpecial(), placesbeen, and StateMachine::reInit()\&.
.PP
Referenced by MainFrame::update(), and Gameloop::update()\&.
.SS "void StateManager::changePlacesBeen (longcode, \fBStateMachine\fP *machine)"

.PP
Definition at line 27 of file StateManager\&.cpp\&.
.PP
References placesbeen\&.
.PP
Referenced by callStates()\&.
.SS "\fBStateMachine\fP * StateManager::getStateValue (longcode)"

.PP
Definition at line 31 of file StateManager\&.cpp\&.
.PP
References placesbeen\&.
.SS "\fBStateMachine\fP * StateManager::initialiseState ()"

.PP
Definition at line 22 of file StateManager\&.cpp\&.
.PP
References codes, and KeyCode::getHashMap()\&.
.PP
Referenced by Gameloop::Gameloop(), and MainFrame::init()\&.
.SH "Member Data Documentation"
.PP 
.SS "\fBKeyCode\fP* StateManager::codes\fC [private]\fP"

.PP
Definition at line 26 of file StateManager\&.h\&.
.PP
Referenced by callStates(), initialiseState(), and StateManager()\&.
.SS "long StateManager::currentcode\fC [private]\fP"

.PP
Definition at line 29 of file StateManager\&.h\&.
.PP
Referenced by callStates(), and StateManager()\&.
.SS "std::map<long, \fBStateMachine\fP*> StateManager::placesbeen\fC [private]\fP"

.PP
Definition at line 27 of file StateManager\&.h\&.
.PP
Referenced by callStates(), changePlacesBeen(), and getStateValue()\&.

.SH "Author"
.PP 
Generated automatically by Doxygen for GameEngine from the source code\&.
